<!DOCTYPE html>
<html lang="en"xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<nav th:fragment="common">
    <div class="col-md-4">总记录数[[${pInfo.total}]] [[${pInfo.pageNum}]]/
        [[${pInfo.pages}]]页</div>
    <ul class="pagination pagination-circle">
        <li th:class="${pInfo.isFirstPage}?'disabled'" >
            <a href="javascript:;"  th:onclick="'ym('+${pInfo.prePage}+')'">
                <span><i class="mdi mdi-chevron-left"></i></span>
            </a>
        </li>
        <li th:class="${page_Num==pInfo.pageNum}?'active':''" th:each="page_Num:${pInfo.navigatepageNums}">
            <a  th:onclick="'ym('+${page_Num}+')'" href="javascript:;">[[${page_Num}]]</a>
        </li>

        <li th:class="${pInfo.isLastPage}?'disabled'">
            <a href="javascript:;" th:onclick="'ym('+${pInfo.nextPage}+')'">
                <span><i class="mdi mdi-chevron-right"></i></span>
            </a>
        </li>

    </ul>

</nav>
</body>
</html>